﻿

#region Using Statements

using UnityEngine;
using System.Collections.Generic;

#endregion


[RequireComponent(typeof(PlatformMovement))]
/// <summary>
/// 
/// </summary>
public class PlayerInput : ObjectScript
{

    #region Members

    

    #endregion


    #region Init

	/// <summary>
    /// 
    /// </summary>
    protected virtual void Awake()
    {

    }


    /// <summary>
    /// 
    /// </summary>
    protected virtual void Start()
    {

    }

    #endregion


    #region Update

    /// <summary>
    /// 
    /// </summary>
    protected virtual void Update()
    {
        movement.inputMovement = Input.GetAxis("Horizontal");
        movement.inputJump = Input.GetButton("Jump");
        movement.lookLocation = Util.MouseLocation2D(Camera.main, 0.0f);
    }

    #endregion

}